package com.sti.framework.models.Basics.data;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sti.framework.core.data.AbstractAuditingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 模块： 基础设置 Basics
 * 表格： 事务参数 aps_parameter
 *
 * @author AutoApi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "aps_parameter", autoResultMap = true)
@ApiModel(value = "aps_parameter", description = "事务参数")
public class BasicsParameter extends AbstractAuditingEntity {
    
	/**
	 * 参数名称代码
	 */
	@TableField(value = "parameter_name")
	private String parameterName;

	/**
	 * 参数描述中文
	 */
	@TableField(value = "description")
	private String description;

	/**
	 * 0.单值 1.多值
	 */
	@TableField(value = "category")
	private String category;

	/**
	 * 单值的默认值
	 */
	@TableField(value = "parameter_value")
	private String parameterValue;

	/**
	 * 优先级值1最高 5最低
	 */
	@TableField(value = "priority_value")
	private Integer priorityValue;

	@TableField(exist = false)
	private List<BasicsParameterValue> basicsParameterValueList;
}
